objects:=servern clientn

# 声明伪目标
.PHONY: all clean

all: $(objects)

server: servern.c
	gcc servern.c -o servern

client: clientn.c
	gcc clientn.c -o clientn

# clean目标中也可以引入变量
clean:
	-rm $(objects)